﻿namespace Anurgath.Shoutbox.Models
{
    #region Usings
    using Orchard.ContentManagement;
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    #endregion

    public class PostPart : ContentPart<PostPartRecord>
    {
        #region Properties
        public int UserId
        {
            get
            {
                return Record.UserId;
            }
            set
            {
                Record.UserId = value;
            }
        }

        public string UserName
        {
            get
            {
                return Record.UserName;
            }
            set
            {
                Record.UserName = value;
            }
        }

        public string Content
        {
            get
            {
                return Record.Content;
            }
            set
            {
                Record.Content = value;
            }
        }

        public ShoutboxPartRecord ParentShoutbox
        {
            get
            {
                return Record.ParentShoutbox;
            }
            set
            {
                Record.ParentShoutbox = value;
            }
        }

        public DateTime AddDate
        {
            get
            {
                return Record.AddDate;
            }
            set
            {
                Record.AddDate = value;
            }
        }
        #endregion
    }
}